package com.ruoyi.facilities.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 噪声治理设施对象 tf_noisegc
 * 
 * @author yxf
 * @date 2021-08-25
 */
public class TfNoisegc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 噪声治理设施ID */
    private Long nsId;

    /** 设施名称 */
    @Excel(name = "设施名称")
    private String nsName;

    /** 设施编号 */
    @Excel(name = "设施编号")
    private String nsCode;

    /** 设施型号 */
    @Excel(name = "设施型号")
    private String nsModel;

    /** 治理设施类型 */
    @Excel(name = "治理设施类型")
    private String nsType;

    /** 治理设施工艺 */
    @Excel(name = "治理设施工艺")
    private String nsCraft;

    /** 治理设施建设费用 */
    @Excel(name = "治理设施建设费用")
    private String nsFacilityMoney;

    /** 治理前噪声强度 */
    @Excel(name = "治理前噪声强度")
    private String nsNoiseBefore;

    /** 治理后噪声强度 */
    @Excel(name = "治理后噪声强度")
    private String nsNoiseAfter;

    /** 年运行(小时) */
    @Excel(name = "年运行(小时)")
    private String nsYearTime;

    /** 年运行费用(万元) */
    @Excel(name = "年运行费用(万元)")
    private String nsYearMoney;

    /** 投入使用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投入使用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nsNewUseTime;

    /** 环境监察记录 */
    @Excel(name = "环境监察记录")
    private String nsEnvRecord;

    /** 运行规程 */
    @Excel(name = "运行规程")
    private String nsRunRule;

    /** 设施平面布置图 */
    @Excel(name = "设施平面布置图")
    private String nsFacilityPicture;

    /** 运行记录 */
    @Excel(name = "运行记录")
    private String nsRunRecord;

    /** 企业ID */
    @Excel(name = "企业ID")
    private Long epId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setNsId(Long nsId) 
    {
        this.nsId = nsId;
    }

    public Long getNsId() 
    {
        return nsId;
    }
    public void setNsName(String nsName) 
    {
        this.nsName = nsName;
    }

    public String getNsName() 
    {
        return nsName;
    }
    public void setNsCode(String nsCode) 
    {
        this.nsCode = nsCode;
    }

    public String getNsCode() 
    {
        return nsCode;
    }
    public void setNsModel(String nsModel) 
    {
        this.nsModel = nsModel;
    }

    public String getNsModel() 
    {
        return nsModel;
    }
    public void setNsType(String nsType) 
    {
        this.nsType = nsType;
    }

    public String getNsType() 
    {
        return nsType;
    }
    public void setNsCraft(String nsCraft) 
    {
        this.nsCraft = nsCraft;
    }

    public String getNsCraft() 
    {
        return nsCraft;
    }
    public void setNsFacilityMoney(String nsFacilityMoney) 
    {
        this.nsFacilityMoney = nsFacilityMoney;
    }

    public String getNsFacilityMoney() 
    {
        return nsFacilityMoney;
    }
    public void setNsNoiseBefore(String nsNoiseBefore) 
    {
        this.nsNoiseBefore = nsNoiseBefore;
    }

    public String getNsNoiseBefore() 
    {
        return nsNoiseBefore;
    }
    public void setNsNoiseAfter(String nsNoiseAfter) 
    {
        this.nsNoiseAfter = nsNoiseAfter;
    }

    public String getNsNoiseAfter() 
    {
        return nsNoiseAfter;
    }
    public void setNsYearTime(String nsYearTime) 
    {
        this.nsYearTime = nsYearTime;
    }

    public String getNsYearTime() 
    {
        return nsYearTime;
    }
    public void setNsYearMoney(String nsYearMoney) 
    {
        this.nsYearMoney = nsYearMoney;
    }

    public String getNsYearMoney() 
    {
        return nsYearMoney;
    }
    public void setNsNewUseTime(Date nsNewUseTime) 
    {
        this.nsNewUseTime = nsNewUseTime;
    }

    public Date getNsNewUseTime() 
    {
        return nsNewUseTime;
    }
    public void setNsEnvRecord(String nsEnvRecord) 
    {
        this.nsEnvRecord = nsEnvRecord;
    }

    public String getNsEnvRecord() 
    {
        return nsEnvRecord;
    }
    public void setNsRunRule(String nsRunRule) 
    {
        this.nsRunRule = nsRunRule;
    }

    public String getNsRunRule() 
    {
        return nsRunRule;
    }
    public void setNsFacilityPicture(String nsFacilityPicture) 
    {
        this.nsFacilityPicture = nsFacilityPicture;
    }

    public String getNsFacilityPicture() 
    {
        return nsFacilityPicture;
    }
    public void setNsRunRecord(String nsRunRecord) 
    {
        this.nsRunRecord = nsRunRecord;
    }

    public String getNsRunRecord() 
    {
        return nsRunRecord;
    }
    public void setEpId(Long epId) 
    {
        this.epId = epId;
    }

    public Long getEpId() 
    {
        return epId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nsId", getNsId())
            .append("nsName", getNsName())
            .append("nsCode", getNsCode())
            .append("nsModel", getNsModel())
            .append("nsType", getNsType())
            .append("nsCraft", getNsCraft())
            .append("nsFacilityMoney", getNsFacilityMoney())
            .append("nsNoiseBefore", getNsNoiseBefore())
            .append("nsNoiseAfter", getNsNoiseAfter())
            .append("nsYearTime", getNsYearTime())
            .append("nsYearMoney", getNsYearMoney())
            .append("nsNewUseTime", getNsNewUseTime())
            .append("nsEnvRecord", getNsEnvRecord())
            .append("nsRunRule", getNsRunRule())
            .append("nsFacilityPicture", getNsFacilityPicture())
            .append("nsRunRecord", getNsRunRecord())
            .append("epId", getEpId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
